public class AddMonthlyNewBornItemControl 
{
    public NewBornNumber__c NewBornNum{get;set;}
    public integer bNum{get;set;}
    public Boolean haveRecord{get;set;}
    public String HosString{get;set;}
    
    public AddMonthlyNewBornItemControl(NewBornNumber__c tem)
    {
        NewBornNum = tem;
        bNum = 0;
        haveRecord = false; 
        HosString = null;      
    }
    
    public AddMonthlyNewBornItemControl()
    {
        NewBornNum = new NewBornNumber__c();
        bNum = 0;
        haveRecord = false;
        HosString = null;   
    }
    
    static testMethod void AddMonthlyNewBornItemControl()
    {
        AddMonthlyNewBornItemControl test = new AddMonthlyNewBornItemControl();
        NewBornNumber__c tem = new NewBornNumber__c();
        AddMonthlyNewBornItemControl test_tem = new AddMonthlyNewBornItemControl(tem);
        System.assert(test.bNum == 0);
        System.assert(test.haveRecord == false);
        System.assert(test_tem.bNum == 0);       
        System.assert(test_tem.haveRecord == false);  
    }      
}